from django.shortcuts import render
from django.views.generic import View
from django.http.response import HttpResponse

# Create your views here.

class DemoView(View):

    def get(self,request):

        return HttpResponse('get请求业务逻辑')



    def post(self,request):

        return HttpResponse('post请求业务逻辑')


